﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.BBS
{
    /// <summary>
    /// 实体类BBSReply 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class BBSReply
    {
        public BBSReply()
        { }
        #region Model
        private int _id;
        private int _bbsid;
        private string _userid;
        private string _usernickname;
        private DateTime _publishtime;
        private string _content;
        private string _replyto;
        private int _replytoobjectid;
        private int _replytoobjecttype;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 关联的BBSID
        /// </summary>
        public int BBSID
        {
            set { _bbsid = value; }
            get { return _bbsid; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickName
        {
            set { _usernickname = value; }
            get { return _usernickname; }
        }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishTime
        {
            set { _publishtime = value; }
            get { return _publishtime; }
        }
        /// <summary>
        /// 正文
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 回复对象名
        /// </summary>
        public string ReplyTo
        {
            set { _replyto = value; }
            get { return _replyto; }
        }
        /// <summary>
        /// 回复对象ID
        /// </summary>
        public int ReplyToObjectId
        {
            set { _replytoobjectid = value; }
            get { return _replytoobjectid; }
        }
        /// <summary>
        /// 回复对象类型，1 楼主， 2 非楼主
        /// </summary>
        public int ReplyToObjectType
        {
            set { _replytoobjecttype = value; }
            get { return _replytoobjecttype; }
        }
        #endregion Model

    }
}
